package com.yegs.jltqc.service;

import com.yegs.jltqc.TO.NamePageQuery;
import com.yegs.jltqc.VO.BaseDepartment;
import com.yegs.jltqc.VO.BaseUser;
import com.yegs.jltqc.common.StoreException;
import org.springframework.data.domain.Page;

import java.util.List;

public interface BaseDepartmentService {

    void save(BaseDepartment baseDepartment) throws StoreException;

    List<BaseDepartment> list();

    BaseDepartment get(Long id);

    void del(Long id);

    Page<BaseDepartment> query(NamePageQuery query);


}
